home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 November / macformat-109.iso / Demos / Alice Demo / demo / pak0.pk3 / scripts / waterfall.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  1.7 KB  |  94 lines

  1. rogue_fall
  2. {
  3.     deformVertexes wave 180 sin 0.000000 3.000000 0.000000 1.50000
  4.  
  5.     cull none
  6.     {
  7.         //depthwrite
  8.             map models/fx/wfall/wfall2.tga
  9.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  10.         tcMod scroll 0.000000 -0.900000
  11.     }
  12. }
  13.  
  14. roguespray
  15. {
  16.       surfaceparm nolightmap
  17.     cull none
  18.     {
  19.             map models/fx/wfall/water1.tga
  20.         blendFunc GL_ONE GL_ONE
  21.         //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  22.         //blendFunc GL_SRC_ALPHA GL_ONE
  23.         //blendFunc GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR
  24.       
  25.         rgbGen vertex
  26.         alphaGen vertex
  27.     }
  28. }
  29.  
  30. waterdrop1
  31. {
  32.     cull none
  33.     {
  34.            map models/fx/wfall/waterdrop.tga
  35.         blendFunc GL_ONE GL_ONE
  36.         alphaGen vertex
  37.         rgbGen vertex
  38.     }
  39. }
  40.  
  41.  
  42. //BW CHESS VILLAGE!!!
  43. BW_rogue_fall
  44. {
  45.     deformVertexes wave 180 sin 0.000000 3.000000 0.000000 1.50000
  46.  
  47.     cull none
  48.     {
  49.         depthwrite
  50.             map models/fx/wfall/BW_wfall2.tga
  51.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  52.         tcMod scroll 0.000000 -0.900000
  53.     }
  54. }
  55.  
  56. BW_roguespray
  57. {
  58.       surfaceparm nolightmap
  59.     cull none
  60.     {
  61.             map models/fx/wfall/BW_water1.tga
  62.         blendFunc GL_ONE GL_ONE
  63.         //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  64.         //blendFunc GL_SRC_ALPHA GL_ONE
  65.         //blendFunc GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR
  66.       
  67.         rgbGen vertex
  68.         alphaGen vertex
  69.     }
  70. }
  71.  
  72. BW_waterdrop1
  73. {
  74.     cull none
  75.     {
  76.            map models/fx/wfall/BW_waterdrop.tga
  77.         blendFunc GL_ONE GL_ONE
  78.         alphaGen vertex
  79.         rgbGen vertex
  80.     }
  81. }
  82.  
  83. rogue_bloodfall
  84. {
  85.     deformVertexes wave 180 sin 0.000000 3.000000 0.000000 1.50000
  86.  
  87.     cull none
  88.     {
  89.         depthwrite
  90.             map models/fx/wfall/wfall_blood4real.tga
  91.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  92.         tcMod scroll 0.000000 -0.900000
  93.     }
  94. }